//
//  HAJSBridgeHandler.h
//  HAFund
//
//  Created by 夏成龙 on 2018/11/12.
//  Copyright © 2018年 夏成龙. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface HAJSBridgeHandler : NSObject

- (instancetype)initWithBridgeDelegate:(id)bridgeDelegate webView:(WKWebView *)webView;

- (void)evaluateJavaScriptWithMethodName:(nonnull NSString *)methodName params:(nullable NSDictionary *)params completionHandler:(void (^)(id result, NSError *error))handler;
@end

NS_ASSUME_NONNULL_END
